package JUC.volatileDemo;

/**
 * @author CKC
 * @DateTime 2021/2/28 17:30
 */
public class T1 {
    volatile int n = 0;
    
    public void add() {
        n++;
    }
}
